/*#include <avr/io.h>
#include <stdlib.h>
#include "projectdefinitions.h"

int main()
{

unsigned char x,y;
int i=0;

InitBoard();
INIT_UART
ACTIVATE_LCD
LCD_BACKLIGHT_ON
CLEAR_LCD

LCD_XY(1,1)
x='A';


while(1)
{

	i++;

	UART_CHAR(x)
	//delay_ds(5);
	UART_READ_CHAR(y)

	if(y==x)
	{	//LCD_TEXT(" ")
		LCD_CHAR(x)
		LCD_CHAR(126)
		LCD_CHAR(y)
		LCD_CHAR(232)
		//LCD_TEXT(" ")
	}
	else
	{	//LCD_TEXT(" ")
		LCD_CHAR(x)
		LCD_CHAR(126)
		LCD_CHAR(y)
		LCD_CHAR('?')
		//LCD_TEXT(" ")
	}
	
	delay_ds(5);
	
	if(i==16)
	{
		i=0;
		CLEAR_LCD
		LCD_XY(1,1)
	}

	}
	return 0;
}
*/



//TASK2

#include <avr/io.h>
#include <stdlib.h>
#include "projectdefinitions.h"

int main()
{

InitBoard();
INIT_UART
ACTIVATE_LCD
LCD_BACKLIGHT_ON
CLEAR_LCD

char x;

while(1)
{
	UART_READ_CHAR(x)
	if(x)
	{
		UART_CHAR(x)
	
		LCD_CHAR(x)
		DISPLAY_LEDS(x)
	
		//delay_ds(1);
	}
}
return 0;
}
/* wassssupppp!!!!!!!*/